home *** CD-ROM | disk | FTP | other *** search
/ Apple Reference & Presen…tion Library 4 (Reseller) / Apple Ref. & Pres. Lib.v4.0.iso / 4-Demos / Apple Demos / Tutorials / Display Card 4•8⁄8•24 Training / Display Card 4•8_8•24 Training / card_23661.txt < prev    next >
Text File  |  1990-03-19  |  15KB  |  712 lines

  1. -- card: 23661 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 10579
  5. -- name: test 2
  6. ----- HyperTalk script -----
  7. on openCard
  8.   global inprogress
  9.   if inprogress is false then show cd fld "instruction 1"
  10.   hide cd fld "ClicktoContinue"
  11.   show cd btn "Check my Answers"
  12.   repeat with f = 15 to 23
  13.  
  14.     hide cd fld f
  15.   end repeat
  16.   repeat with x = 1 to 3
  17.     hide cd fld ("responses" && x)
  18.   end repeat
  19. end openCard
  20.  
  21. on closeCard
  22.   global maploc, cardloc
  23.   put word 1 of the short name of this card into maploc
  24.   put word 2 of the short name of this card into cardloc
  25.   push card
  26. end closeCard
  27.  
  28.  
  29.  
  30. -- part 1 (field)
  31. -- low flags: 01
  32. -- high flags: 4000
  33. -- rect: left=129 top=112 right=129 bottom=203
  34. -- title width / last selected line: 0
  35. -- icon id / first selected line: 0 / 0
  36. -- text alignment: 0
  37. -- font id: 156
  38. -- text size: 14
  39. -- style flags: 0
  40. -- line height: 16
  41. -- part name: answer 1
  42. ----- HyperTalk script -----
  43. on mouseup
  44.   toggleResponses
  45. end mouseup
  46.  
  47.  
  48.  
  49. -- part 2 (field)
  50. -- low flags: 01
  51. -- high flags: 4000
  52. -- rect: left=385 top=144 right=162 bottom=497
  53. -- title width / last selected line: 0
  54. -- icon id / first selected line: 0 / 0
  55. -- text alignment: 0
  56. -- font id: 156
  57. -- text size: 14
  58. -- style flags: 0
  59. -- line height: 16
  60. -- part name: answer 2
  61. ----- HyperTalk script -----
  62. on mouseup
  63.   toggleResponses
  64. end mouseup
  65.  
  66.  
  67.  
  68. -- part 3 (field)
  69. -- low flags: 01
  70. -- high flags: 4000
  71. -- rect: left=388 top=207 right=224 bottom=437
  72. -- title width / last selected line: 0
  73. -- icon id / first selected line: 0 / 0
  74. -- text alignment: 0
  75. -- font id: 156
  76. -- text size: 14
  77. -- style flags: 0
  78. -- line height: 16
  79. -- part name: answer 3
  80. ----- HyperTalk script -----
  81. on mouseup
  82.   toggleResponses
  83. end mouseup
  84.  
  85.  
  86. -- part 4 (field)
  87. -- low flags: 01
  88. -- high flags: 4000
  89. -- rect: left=315 top=254 right=273 bottom=388
  90. -- title width / last selected line: 0
  91. -- icon id / first selected line: 0 / 0
  92. -- text alignment: 0
  93. -- font id: 156
  94. -- text size: 14
  95. -- style flags: 0
  96. -- line height: 16
  97. -- part name: answer 4
  98. ----- HyperTalk script -----
  99. on mouseup
  100.   toggleResponses
  101. end mouseup
  102.  
  103.  
  104. -- part 6 (field)
  105. -- low flags: 81
  106. -- high flags: 2004
  107. -- rect: left=14 top=50 right=126 bottom=116
  108. -- title width / last selected line: 0
  109. -- icon id / first selected line: 0 / 0
  110. -- text alignment: 0
  111. -- font id: 158
  112. -- text size: 14
  113. -- style flags: 0
  114. -- line height: 16
  115. -- part name: responses 1
  116. ----- HyperTalk script -----
  117. on mouseup
  118.   chooseResponses
  119. end mouseup
  120.  
  121.  
  122.  
  123. -- part 8 (field)
  124. -- low flags: 81
  125. -- high flags: 2004
  126. -- rect: left=0 top=154 right=236 bottom=130
  127. -- title width / last selected line: 0
  128. -- icon id / first selected line: 0 / 0
  129. -- text alignment: 0
  130. -- font id: 158
  131. -- text size: 14
  132. -- style flags: 0
  133. -- line height: 16
  134. -- part name: responses 2
  135. ----- HyperTalk script -----
  136. on mouseup
  137.   chooseResponses
  138. end mouseup
  139.  
  140.  
  141.  
  142. -- part 9 (field)
  143. -- low flags: 81
  144. -- high flags: 2004
  145. -- rect: left=54 top=164 right=239 bottom=123
  146. -- title width / last selected line: 0
  147. -- icon id / first selected line: 0 / 0
  148. -- text alignment: 0
  149. -- font id: 158
  150. -- text size: 14
  151. -- style flags: 0
  152. -- line height: 16
  153. -- part name: responses 3
  154. ----- HyperTalk script -----
  155. on mouseup
  156.   chooseResponses
  157. end mouseup
  158.  
  159.  
  160.  
  161. -- part 10 (field)
  162. -- low flags: 81
  163. -- high flags: 2004
  164. -- rect: left=51 top=215 right=289 bottom=113
  165. -- title width / last selected line: 0
  166. -- icon id / first selected line: 0 / 0
  167. -- text alignment: 0
  168. -- font id: 158
  169. -- text size: 14
  170. -- style flags: 0
  171. -- line height: 16
  172. -- part name: responses 4
  173. ----- HyperTalk script -----
  174. on mouseup
  175.   chooseResponses
  176. end mouseup
  177.  
  178.  
  179.  
  180. -- part 11 (field)
  181. -- low flags: 81
  182. -- high flags: 2004
  183. -- rect: left=7 top=140 right=218 bottom=79
  184. -- title width / last selected line: 0
  185. -- icon id / first selected line: 0 / 0
  186. -- text alignment: 0
  187. -- font id: 158
  188. -- text size: 14
  189. -- style flags: 0
  190. -- line height: 16
  191. -- part name: responses 5
  192. ----- HyperTalk script -----
  193. on mouseup
  194.   chooseResponses
  195. end mouseup
  196.  
  197.  
  198.  
  199. -- part 7 (field)
  200. -- low flags: 81
  201. -- high flags: 0007
  202. -- rect: left=384 top=19 right=105 bottom=512
  203. -- title width / last selected line: 0
  204. -- icon id / first selected line: 0 / 0
  205. -- text alignment: 0
  206. -- font id: 3
  207. -- text size: 9
  208. -- style flags: 0
  209. -- line height: 12
  210. -- part name: Your Responses
  211.  
  212.  
  213. -- part 13 (field)
  214. -- low flags: 81
  215. -- high flags: 0002
  216. -- rect: left=65 top=8 right=62 bottom=81
  217. -- title width / last selected line: 0
  218. -- icon id / first selected line: 0 / 0
  219. -- text alignment: 0
  220. -- font id: 3
  221. -- text size: 9
  222. -- style flags: 0
  223. -- line height: 12
  224. -- part name: Your Answers
  225.  
  226.  
  227. -- part 14 (field)
  228. -- low flags: 81
  229. -- high flags: 0002
  230. -- rect: left=28 top=8 right=63 bottom=47
  231. -- title width / last selected line: 0
  232. -- icon id / first selected line: 0 / 0
  233. -- text alignment: 0
  234. -- font id: 3
  235. -- text size: 9
  236. -- style flags: 0
  237. -- line height: 12
  238. -- part name: our Answers
  239.  
  240.  
  241. -- part 15 (field)
  242. -- low flags: 81
  243. -- high flags: 0002
  244. -- rect: left=0 top=25 right=113 bottom=53
  245. -- title width / last selected line: 0
  246. -- icon id / first selected line: 0 / 0
  247. -- text alignment: 0
  248. -- font id: 3
  249. -- text size: 9
  250. -- style flags: 0
  251. -- line height: 12
  252. -- part name: memoList
  253.  
  254.  
  255. -- part 18 (button)
  256. -- low flags: 00
  257. -- high flags: A003
  258. -- rect: left=132 top=312 right=339 bottom=274
  259. -- title width / last selected line: 0
  260. -- icon id / first selected line: 0 / 0
  261. -- text alignment: 1
  262. -- font id: 0
  263. -- text size: 12
  264. -- style flags: 0
  265. -- line height: 16
  266. -- part name: Check my answers
  267. ----- HyperTalk script -----
  268. on mouseUp
  269.   global memolist, testNumber, inProgress
  270.   put "" into memolist
  271.   set the cursor to busy
  272.   put 1 into r
  273.   repeat with r = 1 to the number of lines in cd fld "Our Answers"
  274.     if line r of cd fld "your Responses" is "" then
  275.       answer "You're not done, yet!" with "Ooops!"
  276.       put true into tryAgain
  277.       exit mouseup
  278.     else
  279.       put 1 into rLine
  280.       put false into tryAgain
  281.       repeat with r = 1 to the number of lines of cd fld "Our Answers"
  282.         if line rLine of cd fld "Your Answers" is in line rLine of cd fld "Our Answers" then
  283.           put true into okAnswer
  284.         else
  285.           put false into okAnswer
  286.         end if
  287.         if okAnswer then
  288.           put true into line rline of cd fld "memoList"
  289.           put true into item r of memolist
  290.         else
  291.           put false into line rline of cd fld "memolist"
  292.           put false into item r of memolist
  293.         end if
  294.         add 1 to rLine
  295.       end repeat
  296.     end if
  297.   end repeat
  298.   if tryAgain is false then
  299.     set cursor to hand
  300.     hide cd btn "Check my answers"
  301.     show cd fld "clicktocontinue"
  302.   end if
  303.  
  304.   put "2" into testnumber
  305.   repeat with i = 1 to the number of lines of cd fld "MemoList"
  306.     put ("review" && i) into theButton
  307.     set the hilite of cd btn theButton to true
  308.     get line i of cd fld "MemoList"
  309.     if it is true then
  310.       put ("comment" && i && "true") into theComment
  311.       show cd fld theComment
  312.     else
  313.       put ("comment" && i && "false") into theComment
  314.       show cd fld theComment
  315.     end if
  316.     wait until the mouseclick
  317.     set the hilite of cd btn theButton to false
  318.     hide cd fld theComment
  319.   end repeat
  320.   hide cd fld "clicktocontinue"
  321.   if cd fld "MemoList" contains "False" then
  322.     answer "Do you want to try again?" with "Yes" or "No"
  323.     if it is "Yes" then
  324.       put empty into cd fld "memolist"
  325.       put true into inProgress
  326.       show cd btn "Check my Answers"
  327.       send opencard
  328.       exit mouseup
  329.     else
  330.       ScoreReview
  331.     end if
  332.   else
  333.     ScoreReview
  334.   end if
  335. end mouseUp
  336.  
  337.  
  338.  
  339. -- part 24 (button)
  340. -- low flags: 00
  341. -- high flags: 2000
  342. -- rect: left=128 top=113 right=129 bottom=203
  343. -- title width / last selected line: 0
  344. -- icon id / first selected line: 0 / 0
  345. -- text alignment: 1
  346. -- font id: 0
  347. -- text size: 12
  348. -- style flags: 0
  349. -- line height: 16
  350. -- part name: review 1
  351. ----- HyperTalk script -----
  352. on mouseUp
  353.   hide card field "instruction 1"
  354.   toggleResponses
  355. end mouseUp
  356.  
  357.  
  358.  
  359. -- part 25 (button)
  360. -- low flags: 00
  361. -- high flags: 2000
  362. -- rect: left=385 top=143 right=161 bottom=498
  363. -- title width / last selected line: 0
  364. -- icon id / first selected line: 0 / 0
  365. -- text alignment: 1
  366. -- font id: 0
  367. -- text size: 12
  368. -- style flags: 0
  369. -- line height: 16
  370. -- part name: review 2
  371. ----- HyperTalk script -----
  372. on mouseUp
  373.   toggleResponses
  374. end mouseUp
  375.  
  376.  
  377.  
  378. -- part 26 (button)
  379. -- low flags: 00
  380. -- high flags: 2000
  381. -- rect: left=391 top=203 right=222 bottom=435
  382. -- title width / last selected line: 0
  383. -- icon id / first selected line: 0 / 0
  384. -- text alignment: 1
  385. -- font id: 0
  386. -- text size: 12
  387. -- style flags: 0
  388. -- line height: 16
  389. -- part name: review 3
  390. ----- HyperTalk script -----
  391. on mouseUp
  392.   toggleResponses
  393. end mouseUp
  394.  
  395.  
  396.  
  397. -- part 27 (button)
  398. -- low flags: 00
  399. -- high flags: 2000
  400. -- rect: left=312 top=251 right=270 bottom=388
  401. -- title width / last selected line: 0
  402. -- icon id / first selected line: 0 / 0
  403. -- text alignment: 1
  404. -- font id: 0
  405. -- text size: 12
  406. -- style flags: 0
  407. -- line height: 16
  408. -- part name: review 4
  409. ----- HyperTalk script -----
  410. on mouseUp
  411.   toggleResponses
  412. end mouseUp
  413.  
  414.  
  415.  
  416. -- part 29 (field)
  417. -- low flags: 81
  418. -- high flags: 2004
  419. -- rect: left=1 top=0 right=83 bottom=283
  420. -- title width / last selected line: 0
  421. -- icon id / first selected line: 0 / 0
  422. -- text alignment: 1
  423. -- font id: 158
  424. -- text size: 14
  425. -- style flags: 0
  426. -- line height: 18
  427. -- part name: Comment 1 false
  428.  
  429.  
  430. -- part 30 (field)
  431. -- low flags: 81
  432. -- high flags: 2004
  433. -- rect: left=0 top=2 right=97 bottom=222
  434. -- title width / last selected line: 0
  435. -- icon id / first selected line: 0 / 0
  436. -- text alignment: 1
  437. -- font id: 158
  438. -- text size: 14
  439. -- style flags: 0
  440. -- line height: 18
  441. -- part name: Comment 1 true
  442.  
  443.  
  444. -- part 31 (field)
  445. -- low flags: 81
  446. -- high flags: 2004
  447. -- rect: left=0 top=67 right=149 bottom=299
  448. -- title width / last selected line: 0
  449. -- icon id / first selected line: 0 / 0
  450. -- text alignment: 1
  451. -- font id: 158
  452. -- text size: 14
  453. -- style flags: 0
  454. -- line height: 18
  455. -- part name: Comment 2 false
  456.  
  457.  
  458. -- part 32 (field)
  459. -- low flags: 81
  460. -- high flags: 2004
  461. -- rect: left=5 top=39 right=137 bottom=250
  462. -- title width / last selected line: 0
  463. -- icon id / first selected line: 0 / 0
  464. -- text alignment: 1
  465. -- font id: 158
  466. -- text size: 14
  467. -- style flags: 0
  468. -- line height: 18
  469. -- part name: Comment 2 true
  470.  
  471.  
  472. -- part 34 (field)
  473. -- low flags: 81
  474. -- high flags: 2004
  475. -- rect: left=0 top=145 right=226 bottom=338
  476. -- title width / last selected line: 0
  477. -- icon id / first selected line: 0 / 0
  478. -- text alignment: 1
  479. -- font id: 158
  480. -- text size: 14
  481. -- style flags: 0
  482. -- line height: 18
  483. -- part name: Comment 3 false
  484.  
  485.  
  486. -- part 35 (field)
  487. -- low flags: 81
  488. -- high flags: 2004
  489. -- rect: left=0 top=126 right=216 bottom=299
  490. -- title width / last selected line: 0
  491. -- icon id / first selected line: 0 / 0
  492. -- text alignment: 1
  493. -- font id: 158
  494. -- text size: 14
  495. -- style flags: 0
  496. -- line height: 18
  497. -- part name: Comment 3 true
  498.  
  499.  
  500. -- part 36 (field)
  501. -- low flags: 81
  502. -- high flags: 2004
  503. -- rect: left=0 top=228 right=310 bottom=308
  504. -- title width / last selected line: 0
  505. -- icon id / first selected line: 0 / 0
  506. -- text alignment: 1
  507. -- font id: 158
  508. -- text size: 14
  509. -- style flags: 0
  510. -- line height: 18
  511. -- part name: Comment 4 false
  512.  
  513.  
  514. -- part 37 (field)
  515. -- low flags: 81
  516. -- high flags: 2004
  517. -- rect: left=0 top=217 right=302 bottom=233
  518. -- title width / last selected line: 0
  519. -- icon id / first selected line: 0 / 0
  520. -- text alignment: 1
  521. -- font id: 158
  522. -- text size: 14
  523. -- style flags: 0
  524. -- line height: 18
  525. -- part name: Comment 4 true
  526.  
  527.  
  528. -- part 41 (field)
  529. -- low flags: 81
  530. -- high flags: 2004
  531. -- rect: left=59 top=312 right=341 bottom=277
  532. -- title width / last selected line: 0
  533. -- icon id / first selected line: 0 / 0
  534. -- text alignment: 1
  535. -- font id: 157
  536. -- text size: 14
  537. -- style flags: 0
  538. -- line height: 18
  539. -- part name: ClicktoContinue
  540.  
  541.  
  542. -- part 45 (field)
  543. -- low flags: 81
  544. -- high flags: 0007
  545. -- rect: left=0 top=20 right=331 bottom=129
  546. -- title width / last selected line: 0
  547. -- icon id / first selected line: 0 / 0
  548. -- text alignment: 0
  549. -- font id: 156
  550. -- text size: 14
  551. -- style flags: 0
  552. -- line height: 18
  553. -- part name: instruction 1
  554. ----- HyperTalk script -----
  555. on mouseup
  556.   hide me
  557. end mouseup
  558.  
  559.  
  560.  
  561. -- part 48 (button)
  562. -- low flags: 00
  563. -- high flags: 2000
  564. -- rect: left=484 top=317 right=342 bottom=512
  565. -- title width / last selected line: 0
  566. -- icon id / first selected line: 18613 / 18613
  567. -- text alignment: 1
  568. -- font id: 0
  569. -- text size: 12
  570. -- style flags: 0
  571. -- line height: 16
  572. -- part name: return
  573. ----- HyperTalk script -----
  574. on mouseUp
  575.   go card "test 0"
  576. end mouseUp
  577.  
  578.  
  579.  
  580. -- part contents for background part 10
  581. ----- text -----
  582. Features and Advantages #2.
  583.  
  584.  
  585. -- part contents for background part 6
  586. ----- text -----
  587.  
  588. The Macintosh Display Cards 4‚Ä¢8 and 8‚Ä¢24 have built in                          
  589.                          detection
  590.  
  591. Macintosh Display Cards 4‚Ä¢8 and 8‚Ä¢24 are                                  
  592. unlike Apple's current video cards.
  593.  
  594.  
  595. The Macintosh Display Cards 4‚Ä¢8 and 8‚Ä¢24                be upgraded to a Macintosh Display Card 8‚Ä¢24 GC.  
  596.  
  597. The 8‚Ä¢24 upgrade kit contains                          memory.
  598.  
  599. -- part contents for background part 4
  600. ----- text -----
  601. Macintosh Display Card 4‚Ä¢8 and 8‚Ä¢24
  602.  
  603. -- part contents for background part 5
  604. ----- text -----
  605. Training Evaluation
  606.  
  607. -- part contents for card part 6
  608. ----- text -----
  609. current
  610. color
  611. monitor
  612. application
  613.  
  614. -- part contents for card part 8
  615. ----- text -----
  616. emulators
  617. self-configuring
  618. very fast
  619. upgradeable
  620.  
  621. -- part contents for card part 9
  622. ----- text -----
  623. can
  624. should
  625. will
  626. cannot
  627.  
  628.  
  629. -- part contents for card part 10
  630. ----- text -----
  631. DRAM
  632. SRAM
  633. VRAM
  634. RAM
  635.  
  636. -- part contents for card part 11
  637. ----- text -----
  638. three
  639. five
  640. ten
  641. 150
  642.  
  643. -- part contents for card part 14
  644. ----- text -----
  645. 3
  646. 2
  647. 1
  648. 3
  649.  
  650. -- part contents for card part 29
  651. ----- text -----
  652.  
  653. You should review 
  654. the Features and Advantages section.
  655.  
  656. -- part contents for card part 30
  657. ----- text -----
  658.  
  659. Yes.  They are designed to automatically sense the type of display attached. 
  660.  
  661. -- part contents for card part 31
  662. ----- text -----
  663.  
  664. No.  You need to take another look at the Product Description section.
  665.  
  666. -- part contents for card part 32
  667. ----- text -----
  668.  
  669. You're absolutely correct. 
  670. The Macintosh Display Cards 4‚Ä¢8 and 8‚Ä¢24 are self-configuring.
  671.  
  672. -- part contents for card part 34
  673. ----- text -----
  674.  
  675. No.  You need to re-read the Customer Questions section.
  676.  
  677. -- part contents for card part 35
  678. ----- text -----
  679.  
  680. Correct!   Although the 4‚Ä¢8 Display card can be upgraded to an 8‚Ä¢24.  There is no way to upgrade to an 8‚Ä¢24GC
  681.  
  682. -- part contents for card part 36
  683. ----- text -----
  684.  
  685. No.  You need to re-read the Service and Support section.
  686.  
  687. -- part contents for card part 37
  688. ----- text -----
  689.  
  690. Correct.  The Display cards contain VRAM (512K on the 4‚Ä¢8 and 1MB on the 8‚Ä¢24).
  691.  
  692. -- part contents for card part 41
  693. ----- text -----
  694. Click the mouse to continue.
  695.  
  696.  
  697. -- part contents for card part 45
  698. ----- text -----
  699. Instructions: 
  700. (click on this text to hide it)
  701.  
  702. 1.  Click on the   blank line. A list of choices appears
  703.  
  704. 2.  Click on the choice you want, it appears in the sentence. 
  705.  
  706. You can change any of your choices by clicking on it, then selecting another choice.
  707.  
  708. 3.  When you‚Äôve completed the entries, click on the ‚ÄúCheck my Answers‚Äù button.
  709.  
  710. During the review, you‚Äôll find out whether you made the correct choices.
  711.  
  712. Afterwards, you can try again or go back to the menu for this section.